package cn.wolfcode.ssm.util;

import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class JSONResult {
    private boolean success = true;
    private String msg;
    private Object data;

    public JSONResult mark(String msg){
        success = false;
        this.msg = msg;
        return this;
    }
}
